package com.xiaoxian.org.domain;

import java.math.BigDecimal;
import java.util.Date;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.xiaoxian.basic.domain.BaseDomain;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * <p>
 * 
 * </p>
 *
 * @author xiaoxian
 * @since 2022-12-17
 */
@Data
public class Shop extends BaseDomain{

    private static final long serialVersionUID = 1L;

    /**
     * 店铺名称
     */
    @NotEmpty
    @Excel(name = "店铺名字" ,orderNum = "1", width = 30, isImportField = "true_st")
    private String name;
    /**
     * 店铺座机
     */
    @NotEmpty
    @Excel(name = "店铺电话" ,orderNum = "2", width = 30, isImportField = "true_st")
    private String tel;
    /**
     * 入驻时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "注册时间" ,orderNum = "3", exportFormat ="yyyy-MM-dd HH:mm:ss" ,width = 30, isImportField = "true_st")
    private Date registerTime;
    /**
     * 店铺状态：1待审核，2审核通过待激活，3激活成功，4驳回
     */
    @Excel(name = "店铺状态" ,orderNum = "4", width = 30, isImportField = "true_st")
    private Integer state;
    /**
     * 店铺地址
     */
    @NotEmpty
    @Excel(name = "店铺地址" ,orderNum = "5", width = 30, isImportField = "true_st")
    private String address;
    /**
     * 店铺logo
     */
    private String logo;
    /**
     * 店铺管理员ID
     */
    private Long adminId;
    /**
     * 店铺管理元
     */
    private Employee admin;


}
